package com.zhiche.lisa.bms.dao.model.capital;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 排款计划明细表
 * </p>
 *
 * @author liuanshun
 * @since 2018-09-30
 */
@TableName("lisa_capital_arrangement_dtl")
public class CapitalArrangementDtl extends Model<CapitalArrangementDtl> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 主表id
     */
	@TableField("head_id")
	private Long headId;
    /**
     * 关联支付申请表id
     */
	@TableField("pay_id")
	private Long payId;
    /**
     * 类型
     */
	@TableField("bill_type")
	private Long billType;
    /**
     * 承运商Id
     */
	@TableField("lsp_id")
	private Long lspId;
    /**
     * 承运商名称
     */
	@TableField("lsp_name")
	private String lspName;
    /**
     * 账单实付金额
     */
	@TableField("payment_sum")
	private BigDecimal paymentSum;
    /**
     * 已排金额
     */
	@TableField("execute_sum")
	private BigDecimal executeSum;
    /**
     * 未排金额
     */
	@TableField("no_execute_sum")
	private BigDecimal noExecuteSum;
    /**
     * 余额
     */
	private BigDecimal balance;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getHeadId() {
		return headId;
	}

	public void setHeadId(Long headId) {
		this.headId = headId;
	}

	public Long getPayId() {
		return payId;
	}

	public void setPayId(Long payId) {
		this.payId = payId;
	}

	public Long getBillType() {
		return billType;
	}

	public void setBillType(Long billType) {
		this.billType = billType;
	}

	public Long getLspId() {
		return lspId;
	}

	public void setLspId(Long lspId) {
		this.lspId = lspId;
	}

	public String getLspName() {
		return lspName;
	}

	public void setLspName(String lspName) {
		this.lspName = lspName;
	}

	public BigDecimal getPaymentSum() {
		return paymentSum;
	}

	public void setPaymentSum(BigDecimal paymentSum) {
		this.paymentSum = paymentSum;
	}

	public BigDecimal getExecuteSum() {
		return executeSum;
	}

	public void setExecuteSum(BigDecimal executeSum) {
		this.executeSum = executeSum;
	}

	public BigDecimal getNoExecuteSum() {
		return noExecuteSum;
	}

	public void setNoExecuteSum(BigDecimal noExecuteSum) {
		this.noExecuteSum = noExecuteSum;
	}

	public BigDecimal getBalance() {
		return balance;
	}

	public void setBalance(BigDecimal balance) {
		this.balance = balance;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "CapitalArrangementDtl{" +
			", id=" + id +
			", headId=" + headId +
			", payId=" + payId +
			", billType=" + billType +
			", lspId=" + lspId +
			", lspName=" + lspName +
			", paymentSum=" + paymentSum +
			", executeSum=" + executeSum +
			", noExecuteSum=" + noExecuteSum +
			", balance=" + balance +
			"}";
	}
}
